/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.hibernate;

import java.net.URL;

import org.generama.MetadataProvider;
import org.xdoclet.QDoxMetadataProvider;

/**
 * @author Anatol Pomozov
 */
public class IdBagTestCase extends AbstractHibernateMappingTestCase {
    protected URL getExpected() {
        return getResourceRelativeToThisPackage("pojo/IdbagMapping.hbm.xml");
    }

    protected MetadataProvider createMetadataProvider() {
        URL reader = getResourceRelativeToThisPackage("pojo/IdbagMapping.java");
        return new QDoxMetadataProvider(reader);
    }

    protected String getApplicableVersion() {
        return HibernateVersion.HIBERNATE_3_0;
    }
}